package cn.tedu.ivos.base.exception;

import cn.tedu.ivos.base.response.StatusCode;
import lombok.Getter;

/**
 * 自定义业务异常类
 */

public class ServiceException extends RuntimeException {
    @Getter
    private StatusCode statusCode;

    //AIT+INSERT一直回车就可以创建此方法
    public ServiceException(StatusCode statusCode){
        this.statusCode = statusCode;
    }


}
